Multi-dimensional touch input vector system for sensing objects on a touch panel

ABSTRACT

A touch panel system allows multiple simultaneous touch objects on a touch panel to be distinguished. The touch panel includes on its periphery a first plurality of light transmitters and a second plurality of light sensors, each positioned around at least a portion of a perimeter of the touch panel. A processor in communication with the at least one light sensor acquires light intensity data from the sensor(s), wherein any one or more touch objects placed within a touch detectable region of the panel interrupts at least a subset of light paths between transmitter and sensor. Based on the interrupted light paths, the processor generates a touch input vector that represents the placement of each touch object on the touch panel.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a continuation of U.S. patent application Ser. No. 12/910,704, filed Oct. 22, 2010, now U.S. Pat. No. 8,605,046, granted Dec. 10, 2013.

TECHNICAL FIELD

The present invention relates a system for sensing multiple touch objects placed on the surface of a touch panel.

BACKGROUND ART

A touch panel is a type of user interface device that may be attached to a surface of a display device or a projection surface. Traditional touch panels, although widely used, is unable to detect multiple fingers or objects on a surface. If two or more fingers are simultaneously touched, the touch panel may stop working or it may report only one of the touch positions or an inaccurate phantom touch position.

The interface of controlling a machine using multiple fingers has a long history even before the computer was invented (e.g. piano, control panel, DJ mixer, etc). As computers become available to more populations and become increasing powerful, the human computer interface has evolved more and more natural to the users representing real interactions in our physical world. In the early days, computers used punched cards as input. Later, console and keyboard interface was introduced. However, at that time, computer users were still limited to programmers and trained staffs because users had to remember all the command and parameters in order to interact with computers. The use of WIMP (Window, Icon, Menu, Pointing device) greatly simplified the task. Virtual buttons including icons, menus represent physical operations in a 2D graphical way so that a pointing device (e.g. mouse, touch screen) can simulate clicks on it intuitively. However, unlike interactions in our real world, WIMP is limited to single point inputting device (e.g. the user can use mouse to point to only a single location at one time). This limitation results in serious inefficiency. One logical operation may require a series of mouse clicks and mouse moves. For example, a user may click on multiple levels of menus and move across the screen to access buttons, icons in order to perform one logical operation. Imagine if we have only one finger instead of ten in our everyday life, the life would be very difficult for us. In addition, WIMP is limited to single user, multi-user operation is not possible because only one mouse/pointing device is available system wide. The use of multi-pointing device (e.g. a touch screen that can detect locations of multiple fingers simultaneously) can significantly increase interaction efficiency and allows multi-user collaborations.

A traditional infrared touch panel comprises an array of light transmitters on two adjacent sides of the touch panel and an array of light detectors on the other two adjacent sides of the touch panel. Each light transmitter corresponds to one light detector on the opposite position. The transmitter and detector layout formed X and Y light beam paths, where a single finger touch on the surface will block one X light beam and one Y light beam. The touch coordinates and size of the touch area can then be determined by the intersection of the blocked X beam and Y beam. The problem associated with light beam matrix touch screen is that it cannot accurately detect multiple touch positions simultaneously. For example, if there are two fingers touching the surface at the same time, four light beam intersection points will be found. Two of the intersection points will be phantom points. The actual touch positions cannot be determined on such light beam matrix touch panel.

In short, the input vector generated by a traditional touch panel is a singleton <P1>, where P1 is the location of a touch point. It is therefore an object of the present invention to provide more dimensions and features of the touch property to allow sensible control and a new generation of interaction.

Singleton touch input vector generated by a traditional infrared touch panel:

<P1>

Multi-dimensional touch input vector generated by the present invention:

  <  <touch_id_1, P1, size1, convex_contour1>,  <touch_id_2, P2, size2, convex_contour2>,  <touch_id_3, P3, size3, convex_contour3>,  . . . >

SUMMARY OF DISCLOSURE

The present invention provides an apparatus to detect ID, position, size and the convex contour of one or more objects placed on the surface of a touch panel.

The system of the invention uses a method for detecting an ID, position, size and convex contour of at least one touch object placed on a touch region W within a perimeter of a touch panel, the touch panel including on its periphery at least one light transmitter and at least one light sensor. Steps of the method involve the following:

(a) acquiring light intensity data from a subset of light paths L between at least one light transmitter and at least one light sensor of the touch panel, at least one of the light paths being interrupted by placement of at least one touch object within the touch region W;

(b) computing hot regions H={h_(i): i≦NH, where h_(i) is the i_(th) hot region} from a subset of said light intensity data by calculating the shape and boundary of interrupted light paths;

(c) computing expected object area S by overlaying said hot regions H and comparing it with a predetermined overlay region P;

(d) deriving totally disconnected expected object area S′ from S;

(e) computing spatial properties, including position, size and convex contour, of said totally disconnected expected object area S′;

(f) associating touch objects with a subset of said totally disconnected expected object area S′; and

(g) assigning to each said touch objects an ID and said spatial properties as a touch input vector representing the placement of each touch object on the touch panel.

The touch system apparatus for detecting objects placed on a surface within a perimeter of a touch panel includes at least one light transmitter positioned around at least a portion of the perimeter of said touch panel and at least one light sensor positioned around at least a portion of the perimeter of said touch panel, wherein said at least one light sensor is of L-shape or linear shape, wherein at least one touch object placed on the surface within the perimeter of the touch panel interrupts at least a subset of light paths between said at least one light transmitter and said at least one light sensor.

According to one embodiment, the light sensor is a CIS (contact image sensor) module in L-shape or linear shape positioned around at least a portion of the perimeter of the touch panel.

According to one embodiment, the light transmitter comprises a LED semiconductor die and a lens wherein said lens has a wider x-axis view angle than y-axis view angle. This structure allows more energy to be focused and directed towards the light sensor array and reduces energy waste on other directions.

BRIEF DESCRIPTION OF THE DRAWINGS

FIGS. 1A, 1B show a touch panel with one light transmitter and one light sensor.

FIG. 2 shows a touch panel with a plurality of light transmitters and one light sensor and two touch objects on the touch surface.

FIG. 3 shows a touch system with a plurality of light transmitters and a plurality of light sensors and two touch objects on the touch surface.

FIG. 4 shows light paths and hot regions.

FIG. 5 shows a subset of light paths.

FIGS. 6, 7 show overlaying hot regions.

FIG. 8A shows a prior art LED.

FIG. 8B shows a LED of the present invention.

FIGS. 9A and 9B show different cross-sections of the LED of FIG. 8A.

FIGS. 9C and 9D show different cross-sections of the LED of FIG. 8B.

FIG. 10 shows H, a set of hot regions, comprising hot region h1, h2, h3, h4, h5, h6, h7, h8, h9, h10, h11.

FIG. 11 shows S, expected object area.

FIG. 12 shows P, a predetermined overlay region.

FIG. 13 shows S′, totally disconnected expected object area.

FIG. 14 shows G, a set of hot regions pre-calculated from said subset of light intensity data wherein the light intensity values are filled with zeros or a value below a predefined threshold.

FIG. 15 shows Q, a predetermined overlay region.

FIG. 16 shows R1, a set of overlay regions.

FIG. 17 shows R2, a set of overlay regions.

FIG. 18 shows R3, a set of overlay regions.

FIG. 19 shows R4, a set of overlay regions.

FIG. 20 shows R5, a set of overlay regions.

FIG. 21 shows R6, a set of overlay regions.

FIG. 22 shows R7, a set of overlay regions.

FIG. 23 shows R8, a set of overlay regions.

FIG. 24 shows R9, a set of overlay regions.

FIG. 25 shows R10, a set of overlay regions.

FIG. 26 shows R11, a set of overlay regions.

FIG. 27 shows S, expected object area by comparing the texture/color of FIG. 26 and FIG. 13.

FIG. 28 shows F, a filter region.

FIG. 29 shows ROI, region of interest.

DETAILED DESCRIPTION

FIGS. 1A-1B illustrates a first embodiment of a touch panel 13 in accord with the present invention, the touch panel in this case having one light transmitter 11 and one light sensor 12. A touch object T0 20 is located within the touch region W 14. The light transmitter 11 and light sensor 12 are assembled and fastened inside the bezel 10 of the touch panel 13. The light transmitter 11 is in L-shape. Light 15 is evenly emitted along the inner edge of the L-shape transmitter and spreads towards different parts of the touch region W 14. The L-shape light transmitter can be made of a single light fiber or a LED backlight structure. The L-shape light sensor is placed on the opposite sides of the light transmitter to detect the intensity of incoming light energy. The L-shape light sensor outputs a series of analog or digital signals 16 to a processing unit, which produces a one-dimensional light intensity image 17 representing different light intensity detected along different part of the L-shape sensor. Conventional camera sensors cannot be used in this particular touch panel invention, because camera sensors are small in sizes and the sensor itself cannot be extended all the way along the perimeter of the touch panel. For this particular touch panel invention, the L-shape light sensor can be a contact image sensor (CIS) customized for touch screen use. CIS is previously used for flatbed scanners and is not designed for touch screens. It has a fixed length for Letter or A4 paper size. The CIS for flatbed scanner is linear in shape and is moved by a motor line by line to scan 2D images. The resolution is also too high for touch screen applications causing sampling time to be longer. The ideal contact image sensor customized for touch screen application is a single L-shape sensor module with lower DPI and faster frame per second. In a preferred embodiment, the DPI should be equal or below 50 DPI. The internal optical lens of contact image sensor can be re-designed or completely removed under different configurations of this particular touch panel invention. For example, under the configuration shown in FIG. 1A, the optical lens of contact image sensor can be designed with very narrow view angles. For another example, under the configuration shown in FIG. 2, the optical lens of contact image sensor can be completely removed.

FIG. 2 illustrates a second embodiment of a touch panel 13 in accord with the present invention, the touch panel in this case having a plurality of light transmitters 11 and one light sensor 12. Two touch objects 21, 22 are seen to be present within the touch region W 14. The light transmitters 11 can be a plurality of infrared LEDs. Each LED contains a semiconductor die and an optical lens. The optical lens is associated with a view angle 23 property that allows most infrared light energy to spread within the area defined by the view angle 23. The light sensor 12 is of L-shape and can be made of a customized contact image sensor unit. The light path 31 is defined according to the size, location and optical structure of the light transmitter and light sensor. In the configuration illustrated in FIG. 2, each light path 31 can be defined as a triangle connecting between the infrared LED and the pixel located on the contact image sensor. For each light path, the sensor detects the light intensity. The light intensity can be normalized to the range between 0.0 and 1.0. A light intensity measured close to 0.0 indicates that the light is mostly interrupted by a touch object 21, 22 placed on the touch panel 13 and the light sensor can virtually detect no light signal. A light intensity measured close to 1.0 indicates that the light is passed through without any blockage. If the light path 31 is interrupted, a hot region 32 is defined on the light path 31.

FIG. 3 illustrates a third embodiment of a touch panel 13 in accord with the present invention, the touch panel in this case having a plurality of light transmitters 11 on one side of the touch panel 13 and a plurality of light sensors 12 on the opposite side of the touch panel 13. The other two sides of the touch panel 13 are empty. This particular configuration is best for extremely long touch panel or touch wall applications, where the left and right side of the touch panel are so far apart (e.g. several meters long) that light energy detected on the left or right edge is very weak. This particular configuration is also best for low cost implementation of this invention because fewer components are required. In FIG. 3, there are two touch objects 21, 22 within the touch region W 14. The light transmitters 11 can be a plurality of infrared LEDs. The light sensors 12 can be a plurality of phototransistor sensors or photodiode sensors. Each of the light sensors can detect the light intensity measured at the sensor's position. The phototransistor sensor or photodiode sensor contains a semiconductor die and an optical lens. The optical lens is associated with a view angle 24 property that allows incoming infrared light energy within the view angle 24 to be detected by the light sensor.

FIG. 4 further illustrates the hot regions 32 and light paths 31 of this configuration. In a preferred embodiment, in order to simplify the physical lighting model, light paths can be defined by two parallel lines when the size of the LED and the size of the phototransistor/photodiode are the same.

For this invention, a method for detecting an id, position, size and convex contour of at least one object placed on a touch region W within a perimeter of a touch panel including on its periphery at least one light transmitter and at least one light sensor, said-method comprises the following steps:

(a) acquiring light intensity data from a subset of light paths L between at least one light transmitter and at least one light sensor of the touch panel, at least one of the light paths being interrupted by placement of at least one touch object within the touch region W;

(b) computing hot regions H={h_(i): i≦NH, where h_(i) is the i_(th) hot region} from a subset of said light intensity data by calculating the shape and boundary of interrupted light paths;

(c) computing expected object area S 55 by overlaying said hot regions H and comparing it with a predetermined overlay region P;

(d) deriving totally disconnected expected object area S′ from S;

(e) computing spatial properties, including position, size and convex contour, of said totally disconnected expected object area S′;

(f) associating touch objects with a subset of said totally disconnected expected object area S′;

(g) assigning to each of said touch objects an ID and said spatial properties as a touch input vector representing the placement of each touch object on the touch panel.

The first step is to acquire light intensity data from a subset of light paths L. In a preferred embodiment, such subset of light paths can be predefined based on the view angles of the light transmitters and light sensors. For example, in FIG. 4, assuming the view angle of the light transmitter is 90 degree and the view angle of the light sensor is also 90 degree, the subset of light paths L could include light paths: L2-D1, L2-D2, L2-D3, . . . , L2-D19, but should not include L2-D20 because the light path of L2-D20 is out of the 90 degree view angle of L2 or D20. The light intensity of the light path L2-D20 detected by D20 is too weak and may not be accurate enough for further processing.

In a preferred embodiment of this invention where the touch accuracy is the first priority, it is best that the subset of light paths L contains all the light paths that are within the view angles of light transmitters and light sensors. For example, in FIG. 4, assuming the view angles of the light transmitters and light sensors are 90 degree, L, the subset of light paths, is best predefined as:

$L = \begin{Bmatrix} {{L\; 1\text{-}D\; 1},{L\; 1\text{-}D\; 2},\ldots \mspace{14mu},{L\; 1\text{-}D\; 18},} \\ {{L\; 2\text{-}D\; 1},{L\; 2\text{-}D\; 2},\ldots \mspace{14mu},{L\; 2\text{-}D\; 19},} \\ \vdots \\ {{L\; 23\text{-}D\; 06},{L\; 23\text{-}D\; 07},\ldots \mspace{14mu},{L\; 23\text{-}D\; 24},} \\ {{L\; 24\text{-}D\; 07},{L\; 24\text{-}D\; 08},\ldots \mspace{14mu},{L\; 24\text{-}D\; 24}} \end{Bmatrix}$

In another preferred embodiment of this invention where the detection speed is the first priority, it is best that the subset of light paths L contains the least light paths that are sufficient for touch object detection. For example, the subset of light paths L can be dynamically reconfigured so that the locality properly of previous frames and future frames can be used to reduce the number of light paths needed to detect touch objects.

The first step of (a) acquiring a subset of light intensity data from said at least one light sensors further comprises the steps of:

(1) switching on each of said at least one light transmitters at least once for a calculated duration;

(2) reading electrical signals at least once from each light sensor of said subset of said at least one light sensors during the switch on time and/or before the switch on time.

Typically only one light transmitter is switched on at a time when multiple signals are read from different light sensors. The switch on duration depends on the response time of the light sensors. The response time of light sensors is dynamically affected by signal strength, ambient light, etc. For example, the response time is shorter in an environment with ambient light than in a dark room. Depending on different configurations, the switch on time can be configured to a constant value or be controlled by a processor in communication with the light transmitters and light sensors to adjust the duration dynamically.

Next, hot regions are computed from the light intensity data by calculating the shape and boundary of interrupted light paths. In a preferred embodiment of this invention where dynamic reconfiguring the subset of light paths L is expensive, hot regions can be computed from a subset of said light intensity data instead of reconfiguring the subset of light paths.

In order to illustrate the method used in this invention step by step as an example, a simplified subset of light paths L is chosen for illustration purpose. FIG. 5 shows the subset of light paths to be used in this particular example. The same subset of light paths L is used in FIG. 6 and FIG. 7. The subset of light paths L is predefined under this configuration as

-   -   {L2-D2, L2-D9,     -   L3-D3, L3-D10,     -   L4-D4, L4-11, L4-D19,     -   L5-D5, L5-D20,     -   L6-D6, L6-D21,     -   L7-D7, L7-D22,     -   L8-D1, L8-D8, L8-D23,     -   L9-D1, L9-D9, L9-D24,     -   L10-D3, L10-D10,     -   L11-D11, L11-D4,     -   L12-D12, L12-D5,     -   L13-D13, L13-D6,     -   L14-D14, L14-D7,     -   L15-D15, L15-D8,     -   L16-D16, L16-D9,     -   L17-D17, L17-D10,     -   L18-D18, L18-D11,     -   L19-D19, L19-D12,     -   L20-D20, L20-D13,     -   L21-D21,     -   }

FIG. 6 shows overlaying hot regions, where the interrupted light paths define the hot regions. We use a list of vertexes to label each region. The alphanumerical labels are arbitrary defined for illustration purpose.

In FIG. 10, H, a set of hot regions contains 11 hot regions: H={h₁, h₂, h₃, h₄, h₅, h₆, h₇, h₈, h₉, h₁₀, h₁₁}. For example, vertices of A1, B1, B2 and A2 define the first hot region h₁. For illustration purpose, we define:

-   -   h₁=AA_BA_BZ_AZ;     -   h2=BA_CA_CZ_BZ;     -   h3=GA_IA_AZ_GZ;     -   h4=JA_KA_KZ_JZ;     -   h5=KA_LA_GZ_KZ;     -   h6=MA_NA_BZ_AZ;     -   h7=NA_OA_CZ_BZ;     -   h8=DA_EA_EZ_DZ;     -   h9=EA_FA_FZ_EZ;     -   h10=JA_KA_NZ_MZ;     -   h11=FA_GA_HZ_FZ;         Now we have hot regions H computed.

Next, step (c) is to compute expected object area S by overlaying said hot regions H and comparing it with a predetermined overlay region P. FIG. 11 shows three object areas S. We list two preferred embodiments, where the step (c) is processed differently.

For the first preferred embodiment, overlay region R_(i) is calculated as:

$R_{i} = \left\{ \begin{matrix} \begin{matrix} {{\left\{ {\langle{\left( {F\bigcap h_{i} - {\underset{k = 1}{\bigcup\limits^{{NR}_{i - 1}}}x_{k}}} \right),1}\rangle} \right\}\bigcup{\underset{k = 1}{\bigcup\limits^{{NR}_{i - 1}}}\left\{ {\langle{\left( {x_{k}\bigcap h_{i}} \right),{c_{k} + 1}}\rangle} \right\}}\bigcup\left\{ {\langle{{x_{k} - h_{i}},c_{k}}\rangle} \right\}},{{{if}\mspace{14mu} i} > 1},} \\ {{{where}\mspace{14mu} R_{i - 1}} = \left\{ {{\langle{x_{1},c_{1}}\rangle},\ldots \mspace{14mu},{\langle{x_{{NR}_{i - 1}},c_{{NR}_{i - 1}}}\rangle}} \right\}} \end{matrix} \\ \begin{matrix} {\left\{ {\langle{\left( {F\bigcap h_{i}} \right),1}\rangle} \right\},} & {{{if}\mspace{14mu} i} = 1} \end{matrix} \end{matrix} \right.$

where F is a filter region

Overlay regions R_(i) is the data structure representing 1_(st), . . . , i_(th) hot regions overlaid all together. Overlay regions R1 through R11 are illustrated in separate FIGS. 16 through 26.

For this example, filter region F is set to be the whole touch region W, as shown in FIG. 28. In other implementations, the filter region can be the region of interest ROI defined by the user, as shown in FIG. 29, or can be U_(i=1) ^(NH)′{h_(i)′}, (where H′={h′₁, . . . h′_(NH)′} and H′ is a subset of H) so that the overlay regions can be restricted to a smaller or focused area.

For example in FIG. 6, overlay regions R₁, . . . , R₉ are calculated as following:

R₀ is initialized to be { } To overlay hot region h₁(AA_BA_BZ_AZ) on R₀:

R ₁ ={<AA _(—) BA _(—) BZ _(—) AZ,1>}

To overlay hot region h2 (BA_CA_CZ_BZ) on R₁:

R2={<AA _(—) BA _(—) BZ _(—) AZ,1>,<BA _(—) CA _(—) CZ _(—) BZ,1>}

Please note, R2: {<AA_BA_BZ_AZ, 1>, <BA_CA_CZ_BZ,1>} is also considered equivalent to {<AA_CA_CZ_AZ,1>}, which describe the same overlay regions in one big piece instead of two smaller pieces. In short, overlay regions <x1, c> together with <x2, c> is considered equivalent to an overlay region <x1+x2, c>. To overlay hot region h₃ (GA_IA_AZ_GZ) on R₂

$R_{3} = \begin{Bmatrix} {{\langle{{{{GA\_ IA}{\_ CK}{\_ CG}} + {{AG\_ AZ}{\_ GZ}}},1}\rangle},} \\ {{\langle{{{BG\_ BL}{\_ AZ}{\_ AG}},2}\rangle},{\langle{{{{AA\_ BA}{\_ BG}{\_ AG}} + {{BL\_ BZ}{\_ AZ}}},1}\rangle},} \\ {{\langle{{{CG\_ CK}{\_ BL}{\_ BG}},2}\rangle},{\langle{{{{BA\_ CA}{\_ CG}{\_ BG}} + {{CK\_ CZ}{\_ AZ}}},1}\rangle}} \end{Bmatrix}$

To overlay hot region h₄ (JA_KA_KZ_JZ) on R₃

$R_{4} = \begin{Bmatrix} {{\langle{{{{JA\_ KA}{\_ CK}{\_ IJ}} + {{AJ\_ AG}{\_ GZ}{\_ JZ}}},1}\rangle},} \\ {{\langle{{{CJ\_ IJ}{\_ CK}},2}\rangle},{\langle{{{{GA\_ IA}{\_ IJ}{\_ CJ}{\_ CG}} + {{AG\_ AZ}{\_ GZ}}},1}\rangle},} \\ {{\langle{{{BG\_ BK}{\_ AG}},3}\rangle},{\langle{{{BK\_ BL}{\_ AZ}{\_ AG}},2}\rangle},} \\ {{\langle{{{AJ\_ BG}{\_ AG}},2}\rangle},{\langle{{{{AA\_ BA}{\_ BG}{\_ AJ}} + {{BL\_ BZ}{\_ AZ}}},1}\rangle},} \\ {{\langle{{{CJ\_ CK}{\_ BK}{\_ BG}},3}\rangle},{\langle{{{{CG\_ CJ}{\_ BG}} + {{BK\_ CK}{\_ BL}}},2}\rangle},} \\ {{\langle{\Phi,1}\rangle},{\langle{{{{BA\_ CA}{\_ CG}{\_ BG}} + {{CK\_ CZ}{\_ AK}}},1}\rangle}} \end{Bmatrix}$

To overlay hot region h₁₁ (FA_GA_HZ_FZ) on R₉

$R_{11} = \begin{Bmatrix} {{\langle{{{BG\_ CJ}{\_ CK}},3}\rangle},{\langle{{{BG\_ BK}{\_ AG}},3}\rangle},{\langle{{{BG\_ CK}{\_ BK}},3}\rangle},} \\ {{\langle{{{BK\_ CK}{\_ BL}},3}\rangle},{\langle{{{AG\_ BK}{\_ BL}},3}\rangle},{\langle{{{AG\_ BL}{\_ AL}},3}\rangle},} \\ {{\langle{{{CG\_ CJ}{\_ BG}},2}\rangle},{\langle{{{CJ\_ IJ}{\_ CK}},2}\rangle},{\langle{{{AJ\_ BG}{\_ AG}},2}\rangle},} \\ {{\langle{{{CK\_ CL}{\_ BL}},2}\rangle},{\langle{{{AG\_ AL}{\_ GZ}},2}\rangle},{\langle{{{AL\_ BL}{\_ AZ}},2}\rangle},} \\ {{\langle{{G\; 1{\_ HI}{\_ FI}{\_ FG}},2}\rangle},{\langle{{{FG\_ FI}{\_ EI}{\_ EG}},2}\rangle},{\langle{{{EG\_ EI}{\_ DI}{\_ DG}},2}\rangle},} \\ {{\langle{{{HJ\_ HK}{\_ FK}{\_ FJ}},2}\rangle},{\langle{{{HK\_ HL}{\_ FL}{\_ FK}},2}\rangle},{\langle{{{FJ\_ FK}{\_ EK}{\_ EJ}},2}\rangle},} \\ {{\langle{{{FK\_ FL}{\_ EL}{\_ EK}},2}\rangle},{\langle{{{EJ\_ EK}{\_ DK}{\_ DJ}},2}\rangle},{\langle{{{EK\_ EL}{\_ DL}{\_ DK}},2}\rangle},} \\ {{\langle{{{HM\_ HN}{\_ FN}{\_ FM}},2}\rangle},{\langle{{{FM\_ FN}{\_ EN}{\_ EM}},2}\rangle},{\langle{{{EM\_ EN}{\_ DN}{\_ DM}},2}\rangle},} \\ \vdots \end{Bmatrix}$

The final overlay region R of all hot regions: R=R11.

Regions (e.g. h_(i)) and overlay regions (e.g. R_(i)) can be stored in a processor's memory or computer's main memory or graphics card memory using vector and/or raster and/or 3D z-order data structures. The use of vector format to represent regions and overlay, regions allows high precision, consumes less memory and fast geometry calculation. The use of raster or 3D z-order formats can also be used in graphics card acceleration. The uses of different data structures to represent the same regions and overlay regions are considered to be equivalent between each other.

FIG. 7 shows the calculation of a predetermined overlay region Q. Once the subset of light paths L is defined (shown in FIG. 5), set Q=Q_(NG), where Q_(NG) is recursively defined as:

$Q_{i} = \left\{ \begin{matrix} \begin{matrix} {{\left\{ {\langle{\left( {g_{i} - {\overset{N\; Q_{i - 1}}{\bigcup\limits_{k = 1}}x_{k}}} \right),1}\rangle} \right\}\bigcup{\overset{{NQ}_{i - 1}}{\bigcup\limits_{k = 1}}\left\{ {\langle{\left( {x_{k}\bigcap g_{i}} \right),{c_{k} + 1}}\rangle} \right\}}\bigcup\left\{ {\langle{{x_{k} - g_{i}},c_{k}}\rangle} \right\}},{{{if}\mspace{14mu} i} > 1},} \\ \begin{matrix} {{{and}\mspace{14mu} Q_{i - 1}} = \left\{ {{\langle{x_{1},c_{1}}\rangle},\ldots \mspace{14mu},{\langle{x_{{NQ}_{i - 1}},c_{{NQ}_{i - 1}}}\rangle}} \right\}} \\ {{{and}\mspace{14mu} G} = \left\{ {g_{1},\ldots \mspace{14mu},g_{NG}} \right\}} \end{matrix} \end{matrix} \\ {\left\{ {\langle{g_{1},1}\rangle} \right\},{{{if}\mspace{14mu} i} = 1}} \end{matrix} \right.$

where G is a set of hot regions pre-calculated from said subset of light intensity data wherein the light intensity values are filled with zeros or a value below a predefined threshold. Pre-calculated hot regions G are outlined in FIG. 14.

In one preferred embodiment (such as this example), G=L, which means all the light paths are hot regions. As shown in FIG. 7, Q can be pre-calculated as below:

$Q = \begin{Bmatrix} {{\langle{{a\; 1},2}\rangle},{\langle{{a\; 2},2}\rangle},{\langle{{a\; 3},2}\rangle},{\langle{{a\; 4},2}\rangle},{\langle{{a\; 5},3}\rangle},} \\ {{\langle{{a\; 6},3}\rangle},{\langle{{a\; 7},3}\rangle},{\langle{{a\; 8},3}\rangle},{\langle{{a\; 9},3}\rangle},{\langle{{aa},3}\rangle},{\langle{{ab},3}\rangle},} \\ {{\langle{{a\; c},3}\rangle},{\langle{{ad},3}\rangle},{\langle{{ae},3}\rangle},{\langle{{af},3}\rangle},{\langle{{ag},3}\rangle},{\langle{{ah},3}\rangle},} \\ \vdots \end{Bmatrix}$

The calculation is similar to the calculation of overlay regions except that the filter region F is not applied. Overlay regions Q can be seen in FIG. 15.

The next thing to do in step (c) is to calculate expected object area S by comparing R and a predetermined overlay region P. In this first preferred embodiment, P is set to be Q which is previously calculated. FIG. 12 shows the overlay region P. Expected object area S are computed as:

S=U _(i=1) ^(NP)SelectCompare(x _(i) ,c _(i) ,ε,R),

where P={<x₁,c₁>, . . . , <x_(N,P),c_(N,P)>} and ε=0 or a small integer

and

${{SelectCompare}\mspace{14mu} \left( {x,c,ɛ,B} \right)} = \left\{ \begin{matrix} {\left\{ x \right\},} & {{{if}\mspace{14mu} {exists}\mspace{14mu} y\mspace{14mu} {that}\mspace{14mu} x} \subseteq {y\mspace{14mu} {and}\mspace{14mu} {\langle{y,{c - ɛ}}\rangle}} \in B} \\ {\Phi,} & {otherwise} \end{matrix} \right.$

In this embodiment, we set ε=0. However, in other embodiments, ε can be a small integer such as 1 or 2, etc. In an ideal situation, the light intensity data are all acquired in one shot or in a very small duration. However, there are some cases that the acquiring time cannot be ignored. For example, in case that the touch object moves extremely fast, the light intensity acquired by different light sensors is sampled at different time one after another, which causes some of the hot regions to shift away from its actually position during the elapsed time. By increasing the ε value, this invention can be more robust to detect fast moving objects.

In this embodiment, we compare the overlay regions R and Q to find the common regions labeled with the same c. For example, the overlay region <BG_CJ_CK,3> is in R (or R₉) and the overlay region <bc, 3> is in Q. The region of BG_CJ_CK and the region of bc is equivalent to each other because they mark the same region in FIG. 6 and FIG. 7. They are also labeled with the same c=3. The comparison matches so that bc (or BG_CJ_CK) is part of the expected object area S.

In this embodiment, for example, the common regions are {<ad, 3>, <bd, 3>, <bc, 3>, <ae, 3>, <hg, 3>, <fh, 3>, <hh, 3>, <fi, 3>, <ej, 3>, <ek, 3> <u5, 2>}, so S={ad, bd, bc, ae, hg, fh, hh, fi ej, ek, u5}, as seen in FIG. 11. Please note, the bc, ae, hg, ek, u5 regions are not the regions fully occupied by any touch objects. This is because in order to reduce the complexity to illustrate the method step by step, we chose a very small subset of all available light paths in the very beginning of this embodiment. In addition, there is no left and right light transmitters and light sensors on the touch panel, thus fewer light paths are available. The more light paths are included and the more accurate the final convex contour of the touch objects can be detected.

In a second preferred embodiment, step (c) is processed in a different way, which is slightly faster. For the second preferred embodiment, overlay region R_(i) is calculated as:

${R_{0} = {\overset{NQ}{\bigcup\limits_{k = 1}}\left\{ {\langle{\left( {F\bigcap x_{k}} \right),c_{k}}\rangle} \right\}}},{{{where}\mspace{14mu} Q} = \left\{ {{\langle{x_{1},c_{1}}\rangle},\ldots \mspace{14mu},{\langle{x_{NQ},c_{NQ}}\rangle}} \right\}}$ $\begin{matrix} {{R_{i} = {\overset{{NR}_{i - 1}}{\bigcup\limits_{k = 1}}\left\{ {\langle{{F\bigcap x_{k}},{c_{k} - {f\left( {{F\bigcap x_{k}},h_{i}} \right)}}}\rangle} \right\}}},{{{if}\mspace{14mu} i} > 0},} \\ {{{where}\mspace{14mu} R_{i - 1}} = \left\{ {{\langle{x_{1},c_{1}}\rangle},\ldots \mspace{14mu},{\langle{x_{{NR}_{i - 1}},c_{{NR}_{i - 1}}}\rangle}} \right\}} \end{matrix}$

where F is a filter region and

${f\left( {a,b} \right)} = \left\{ \begin{matrix} {1,} & {{{if}\mspace{14mu} a} \subseteq b} \\ {0,} & {otherwise} \end{matrix} \right.$

The different overlay regions R1 through R11 are shown in FIGS. 16-26.

In this embodiment, R₀ is initialized to be the precalculated set Q filtered by F. In this example we use the whole touch region W as the filter so that R₀=Q.

R ₀ ={<a1,2>,<a2,2>,<a3,2>,<a4,2>,<a5,3, . . . <b1,2>,<b2,2>,<b3,2>,<b4,3>, . . . }

To overlay hot region h₁ (A1_B1_B2_A2) on R₀:

R ₁ ={<a1,1>,<a2,1>,<a3,1>,<a4,1>,<a5,2>, . . . <b1,2>,<b2,2>,<b3,2>,<b4,3>, . . . }

To overlay hot region h2 (B1_C1_C2_B2) on R₁:

R ₂ ={<a1,1>,<a2,1>,<a3,1>,<a4,1>,<a5,2>, . . . <b1,1>,<b2,1>,<b3,1>,<b4,2>, . . . }

To overlay hot region h₉ (F1_G1_H2_F2) on R₈

$R_{9} = \begin{Bmatrix} {{\langle{{a\; 1},1}\rangle},{\langle{{a\; 2},1}\rangle},{\langle{{a\; 3},1}\rangle},\ldots \mspace{14mu},} \\ {{\langle{{a\; d},0}\rangle},{\langle{{ae},0}\rangle},{\langle{{af},1}\rangle},\ldots \mspace{14mu},} \\ {{\langle{{b\; 1},1}\rangle},{\langle{{b\; 2},1}\rangle},{\langle{{b\; 3},1}\rangle},\ldots \mspace{14mu},} \\ {{\langle{{bc},0}\rangle},{\langle{{bd},0}\rangle},\ldots \mspace{14mu},} \\ \vdots \\ {{\langle{{e\; 1},1}\rangle},\ldots \mspace{14mu},{\langle{{ej},0}\rangle},{\langle{{ek},0}\rangle},\ldots \mspace{14mu},} \\ {{\langle{{f\; 1},1}\rangle},\ldots \mspace{14mu},{\langle{{fh},0}\rangle},{{\langle{{fi},0}\rangle}\mspace{14mu} \ldots}\mspace{14mu},} \\ {{\langle{{h\; 1},1}\rangle},\ldots \mspace{14mu},{\langle{{hg},0}\rangle},{\langle{{hh},0}\rangle},\mspace{14mu} \ldots \mspace{14mu},} \\ \vdots \end{Bmatrix}$

Regions (e.g. h_(i)) and overlay regions (e.g. R_(i)) can be stored in a processor's memory or computer's main memory or graphics card memory using vector and/or raster and/or 3D z-order data structures. The use of vector format to represent regions and overlay regions allows high precision, consumes less memory and fast geometry calculation. The use of raster or 3D z-order formats can also be used in graphics card acceleration. The uses of different data structures to represent the same regions and overlay regions are considered to be equivalent between each other.

The next thing to do in step (c) is to calculate expected object area S by comparing R and a predetermined overlay region P. In this embodiment, P is set to be {<W, 0>}. Expected object area S is computed as:

S=U _(i=1) ^(NR)SelectCompare(x _(i) ,c _(i) ,ε,P),

where R={<x₁,c₁>, . . . , <x_(NR),c_(NR)>} and ε=0 or a small integer

and

${{SelectCompare}\mspace{14mu} \left( {x,c,ɛ,B} \right)} = \left\{ \begin{matrix} {\left\{ x \right\},} & {{{if}\mspace{14mu} {exists}\mspace{14mu} y\mspace{14mu} {that}\mspace{14mu} x} \subseteq {y\mspace{14mu} {and}\mspace{14mu} {\langle{y,{c - ɛ}}\rangle}} \in B} \\ {\Phi,} & {otherwise} \end{matrix} \right.$

In this embodiment, we set ε=0. In this embodiment, we compare the overlay regions R and P (={<W, 0>}) to find the common regions labeled with the same c. Since the labels in P are zeros, the expected object area is selected regions whose labels are zeros. The compared common regions are {<ad, 0>, <bd, 0>, <bc, 0>, <ae, 0>, <hg, 0>, <fh, 0>, <hh, 0>, <ej, 0>, <fi, 0>, <ek, 0>, <u5, 0>}, so S={ad, bd, bc, ae, hg, fh, hh, ej, fi, ek, u5}.

Now we have expected object area S, the next step is to compute the totally disconnected expected object area S′. In this example, S={ad, bd, bc, ae, hg, fh, hh, ej, fi, ek, u5}, where regions ad, bd, bc, ae are connected, regions hg, fh, hh, ej, fi, ek are connected and u5 is connected by itself.

The totally disconnected expected object area S′={ad+bd+bc+ae, hg+fh+hh+ej+fi+ek, u5} (shown in FIGS. 7, 13 and 27), where the regions: ad+bd+bc+ae is equivalent to BG_CJ_CK_BL_AL_AG and the regions: hg+fh+hh+ej+fi+ek is equivalent to FM_HM_HN_EO_DO_DN. The spatial properties of each totally disconnected expected object area in S′ such as location, size, convex contour can be determined by analyzing the ad+bd+bc+ae region, hg+fh+hh+ej+fi+ek region and u5 region. If the size of an expected object area is too small, or the convex contour is not in an expected shape (e.g. the shape similar to finger tips) or the expected object area only appeared for an extremely short duration, the abnormal expected object area can be filtered out without being associated to a touch object. In this example, u5 is filtered out because it is small in size and is not in an expected shape. The noise u5 appears because for illustration purposes, we chose a very small subset of all available light paths in the very beginning of this embodiment. In a preferred high precision embodiment, where a complete collection of light paths is chosen, noise areas will be reduced without the need of a filtering step.

The last step (g) is to assign an ID and said spatial properties (e.g., position, size and convex contour) to each of the touch objects on the touch panel. The assignment generates a multi-dimensional touch input vector that can be used in the same way as touch input data from prior single-dimensional touch panels:

  <  <touch_id_1, P1, size1, convex_contour1>,  <touch_id_2, P2, size2, convex_contour2>,  <touch_id_3, P3, size3, convex_contour3>,  . . . > In order to assign a consistent ID to the same touch object, a temporal and spatial analysis is performed to identify the same touch object at a slightly different location detected at different times. For example, a recursive function can be defined to enumerate all possible id-to-object mappings in order to find the best mapping that minimize the global moving difference between the previous frame and the current frame.

For each frame, the steps (a), (b), (c), (d), (e), (f), (g) are performed. A typical implementation of the present invention performs 60 frames per second in order to continuously capture touch objects movement and assign a correct and consistent ID to the same touch object.

FIG. 8A shows a prior art LED, containing a lens 41, a wire bond 42, a reflective cavity 43, a semiconductor die 44, an anode 45 and a cathode 46. FIG. 8B shows a LED specifically designed for the present invention having a wider x-axis view angle than y-axis view angle. FIG. 9A shows the cross section 47 of lens used in prior art LEDs is a circle. FIG. 9B shows the cross section 48 of lens for one embodiment of the present invention is an ellipse. This structure allows more energy to be focused and directed towards the light sensor array at the opposite side and reduces energy waste on other directions.

A further improvement in the specific LED or light transmitter design for the present invention involves coating with a reflective material around at least a portion of the surface of the light transmitter. This allows light energy previously escaping to other directions to be bounced back and forth until reaching a proper escaping direction. Thus, light energy is more focused and directed towards the light sensors in the present invention.

In another preferred embodiment, there is at least one internal processor in communication with said at least one light sensor so as to obtain light intensity data. Further, at least one external processor is configured to communicate with said at least one internal processor to accelerate the calculation of overlays. Such external processor can be a computer processor and/or a computer graphics card. The communication protocol need to be high bandwidth and with little latency. In one preferred embodiment, such communication protocol can be USB or Ethernet. 

What is claimed is:
 1. A touch system for detecting an object placed on a surface within a perimeter of a touch panel having an x-axis and a y-axis comprising: a first plurality of light transmitters in optical communication with a second plurality of light sensors, each light sensor positioned around at least a portion of the perimeter of said touch panel, each light transmitter comprising a LED semiconductor die and a lens wherein said lens has a wider x-axis view angle than y-axis view angle.
 2. The touch system as in claim 1, wherein the cross section of said lens is an ellipse.
 3. The touch system as in claim 1, wherein at least one light transmitter is coated with a reflective material around at least a portion of the surface of said at least one light transmitter.
 4. A touch system for detecting an object placed on a surface within a perimeter of a touch panel having four corners comprising: a first plurality of light transmitters positioned around at least a portion of the perimeter of said touch panel; and a second plurality of light sensors positioned around at least a portion of the perimeter of said touch panel, wherein at least some of the second plurality of light sensors have an L-shape or linear shape, wherein at least one touch object placed on the surface within the perimeter of the touch panel interrupts at least a subset of light paths between at least one of the light transmitters and one of the light sensors.
 5. The touch system as in claim 4 further comprising at least one processor in communication with at least some of the second plurality of light sensors so as to obtain light intensity data therefrom, the processor configured to locate and distinguish one or more touch objects placed on the touch panel based on the interrupted light paths.
 6. The touch system as in claim 4, wherein at least one light sensor is a CIS module.
 7. The touch system as in claim 4, wherein four light transmitters among the first plurality of light transmitters are positioned at the four corners of said touch panel.
 8. A touch system for detecting an id, position, size, and convex contour of at least one object placed on a surface within a perimeter of a touch panel comprising: a first plurality of light transmitters positioned around at least a portion of the perimeter of said touch panel; a second plurality of light sensors positioned around at least a portion of the perimeter of said touch panel; at least one light sensor from the second plurality of light sensors providing light intensity data from a subset of light paths between at least one light transmitter in the first plurality of light sensors and said at least one light sensor, one or more of said light paths being interrupted by placement of at least one touch object onto the surface of the touch panel; at least one internal processor in communication with said at least one light sensor so as to obtain light intensity data; means for computing hot regions H=[h_(i):i≦NH, where h_(i) is the i_(th) hot region and NH is the number of hot regions] from a subset of said light intensity data by calculating the shape and boundary of interrupted light paths; means for computing expected object area S by overlaying said hot regions H and comparing it with a predetermined overlay region P; means for deriving totally disconnected expected object area S′ from S; means for computing spatial properties, including position, size and convex contour, of said totally disconnected expected object area S′; means for associating touch objects with a subset of said totally disconnected expected object area S′; and means for assigning to each said touch objects an ID and said spatial properties as a touch input vector representing the placement of each touch object on the touch panel.
 9. The touch system as in claim 8, further comprises: at least one external processor in communication with said at least one internal processor to accelerate the calculation of overlays. 